package com.robotserver.orders.constant;

/**
 * @author jianghan
 * @date 2017-11-29 10:49
 */
public interface CacheKey {
    //redis存放alimmTokens的队列key
    String tbPayOrderQueue = "tbPayOrderQueue";               //淘宝普通账号付款订单
    String tbPayOrderSldQueue = "tbPayOrderSldQueue";         //淘宝会员账号付款订单
    String tbSettleOrderQueue = "tbSettleOrderQueue";         //淘宝普通账号结算订单
    String tbSettleOrderSldQueue = "tbSettleOrderSldQueue";   //淘宝会员账号结算订单

    String jdPayOrderQueue = "jdPayOrderQueue";            //京东订单redis队列KEY

    String vipPayOrderQueue = "vipPayOrderQueue";          //唯品会订单redis队列KEY
    String vipRefundOrderQueue = "vipRefundOrderQueue";    //唯品会维权订单redis队列KEY

    String tbOrderQueue = "tbOrderQueue";               //淘宝常规订单
    String tbOrderSldQueue = "tbOrderSldQueue";         //淘宝会员账号订单
    String tbOrderChannelQueue = "tbOrderChannelQueue";     //淘宝渠道订单
    String tbOrderRefundQueue = "tbOrderRefundQueue";     //淘宝维权订单

    String jdAppkeyOrderQueue = "jdAppkeyOrderQueue";      //京东通过APPkey拉取订单redis队列KEY

    String elmAppkeyOrderQueue = "elmAppkeyOrderQueue";      //饿了么通过APPkey拉取订单redis队列KEY

    String tbOrderErrorNotify = "tbOrderErrorNotify_%s";     //淘宝订单限流

    String dyPayOrderQueue = "dyPayOrderQueue";            //抖音订单redis队列KEY


    int tb_appky_ratelimit = 300; //淘宝APPKey下载限流最大次数为300

    int tb_token_ratelimit = 1; //淘宝单个联盟下载限流最大次数为1个

    int tb_refund_token_ratelimit = 1; //淘宝维权单个联盟下载限流最大次数为1个

}
